package com.share.design.status.demo01;

/**
 * 6 - 已签收
 * @author caifan
 * @since 2022/11/6
 */
public class Received implements PackageState {
    // 单例
    private static Received instance = new Received();

    private Received() {}

    public static Received getInstance() {
        return instance;
    }


    @Override
    public void updateState(PackageContext ctx) {
        System.out.println("6-已签收");
        System.out.println(" end ==");
    }
}
